package com.budwk.app.fetchdata.models;

import com.budwk.starter.common.openapi.annotation.ApiModel;
import com.budwk.starter.common.openapi.annotation.ApiModelProperty;
import com.budwk.starter.database.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.nutz.dao.entity.annotation.*;
import org.nutz.dao.interceptor.annotation.PrevInsert;

import java.io.Serializable;
import java.util.Date;

/**
 * @title: FetchData_volunteerpopulation
 * @Author Tan
 * @Date: 2023/4/6 14:29
 * @Version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Table("wx_volunteer")
@Comment("志愿者数据表")
@ApiModel(description = "志愿者数据表")
public class FetchData_volunteerpopulation extends BaseModel implements Serializable {
    private static final long serialVersionUID = 1L;

    @Column
    @Comment("id")
    @Name
    @ApiModelProperty(description = "id")
    @ColDefine(type = ColType.VARCHAR, width = 32)
    @PrevInsert(els = {@EL("uuid()")})
    private String id;

    @Comment("志愿者姓名")
    @Column
    @ApiModelProperty(description = "志愿者姓名")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String name;

    @Comment("性别")
    @Column
    @ApiModelProperty(description = "性别")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String sexual ;

    @Comment("授权手机号")
    @Column
    @ApiModelProperty(description = "授权手机号")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String phone;

    @Comment("注册省份")
    @Column
    @ApiModelProperty(description = "注册省份")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String vxprovinces;

    @Comment("注册城市")
    @Column
    @ApiModelProperty(description = "注册城市")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String vxcities;

    @Comment("出生年份")
    @Column
    @ApiModelProperty(description = "出生年份")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String years ;

    @Comment("意向服务省份")
    @Column
    @ApiModelProperty(description = "意向服务省份")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String provinces;

    @Comment("意向服务城市")
    @Column
    @ApiModelProperty(description = "意向服务城市")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String cities;

    @Comment("意向服务区县")
    @Column
    @ApiModelProperty(description = "意向服务区县")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String districts;

    @Comment("意向服务乡镇")
    @Column
    @ApiModelProperty(description = "意向服务乡镇")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String townships;

    @Comment("意向服务类型")
    @Column
    @ApiModelProperty(description = "意向服务类型")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String servicetype;

    @Comment("意向服务时间")
    @Column
    @ApiModelProperty(description = "意向服务时间")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String servicetime;

    @Comment("注册时间")
    @Column
    @ApiModelProperty(description = "注册时间")
    @ColDefine(type = ColType.TIMESTAMP, width = 200)
    private Date registrationtime;

    @Comment("创建时间")
    @Column
    @ApiModelProperty(description = "创建时间")
    @ColDefine(type = ColType.TIMESTAMP, width = 200)
    private Date createtime;

}
